#ifndef CHOOSELEVELSCENE_H
#define CHOOSELEVELSCENE_H

#include "mypushbutton.h"
#include "playscene.h"

#include <QMainWindow>
#include <QMenu>
#include <QAction>
#include <QMenuBar>
#include <QPaintEvent>
#include <QPixmap>
#include <QPainter>
#include <QPushButton>
#include <QTimer>
#include <QLabel>
#include <QSound>

class ChooseLevelScene : public QMainWindow
{
    Q_OBJECT
public:
    explicit ChooseLevelScene(QWidget *parent = nullptr);

    //游戏场景对象指针
    PlayScene *pScene = NULL;


protected:
    // 绘画事件
    void paintEvent(QPaintEvent *event);

signals:
    //写一个自定义信号，告诉主场景  点击了返回
    void chooseSceneBack();

};

#endif // CHOOSELEVELSCENE_H
